UkrSolution\BarcodeScanner\API\actions\CartScannerActions D

Total Complexity 439
Dependencies 16
Dependents 4
Total lines 1,699
Lines of code 1,273
Logical lines of code 825
Comment lines 0
Methods 26
Properties 12

Methods 26

Method Rating Maintainability Complexity Lines of code
orderCreate()
D
2
124 352
getCartDetails()
D
18
57 211
addItemToCart()
D
30 39 101
addItem()
D
31 38 88
updateQuantity()
C
35 26 69
initCoupon()
C
39 26 56
findProductInCart()
B
44 24 40
cartRecalculate()
A
37 13 70
getDiscountPrice()
A
44 14 47
updateAttributes()
A
47 13 33
itemSetPrice()
A
48 11 29
getWcCheckoutErrors()
A
56 8 18
setOrderTotal()
S
59 8 13
getCartRecords()
S
51 7 24
getStatuses()
S
55 6 20
formatPriceForUpdate()
S
56 5 19
getCartItems()
S
57 5 17
cartClear()
S
55 4 18
removeItem()
S
57 2 16
conditionally_send_wc_email()
S
66 2 9
cleanObOutput()
S
70 2 6
getVariations()
S
80 1 3
changeQuantityInCart()
S
69 1 6
wcSession()
S
91 1 2
getWcErrors()
S
82 1 3
initFieldPrice()
S
79 1 3